package com.huaqin.punan.database;

public class User {
	private int id;
	private String name;
	private int age;
	private String tall;

	/*
	 * 构造方法
	 */
	public User() {
		super();
	}

	public User(int id, String name, int age, String tall) {
		this.id = id;
		this.name = name;
		this.age = age;
		this.tall = tall;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getTall() {
		return tall;
	}

	public void setTall(String tall) {
		this.tall = tall;
	}

	// 复写toString()方法 进行查找
	public String toString() {
		return "id:" + id + "name:" + name + "age" + age + "tall" + tall;
	}

}
